package com.mmall.apacheshiro.mapper;

import com.mmall.apacheshiro.model.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author simple
 * @date 2018-04-24 16:01
 */
public interface UserMapper {

    /**
     * 根据username查询用户
     *
     * @param username username
     * @return User
     */
    User findByUsername(@Param("username") String username);
}
